package com.cn.intelligence.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cn.intelligence.pojo.TaotaoResult;
import com.cn.intelligence.service.ItemDescService;

/**
 * 商品详情描述
 * @author Administrator
 *
 */
@Controller
public class ItemDescController {

	@Autowired
	public ItemDescService itemDescService;
	/**
	 * 获取商品描述详情
	 */
	@RequestMapping("/item/query/desc/{ids}")
	@ResponseBody
	public TaotaoResult getItemDesc(@PathVariable Long ids){
		return itemDescService.getItemDesc(ids);
	}
}
